<?php /*a:4:{s:52:"F:\www\yuanma\application\index\view\main\index.html";i:1679219375;s:58:"F:\www\yuanma\application\index\view\common\pub_style.html";i:1678364184;s:59:"F:\www\yuanma\application\index\view\common\footer_bar.html";i:1678364181;s:55:"F:\www\yuanma\application\index\view\common\footer.html";i:1678364180;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
<title></title>
<link rel="stylesheet" href="/image/weui.css" />
<link rel="stylesheet" href="/image/bootstrap.min.css" />
<script src="/image/zepto.min.js" type="text/javascript"></script>
<script src="/image/jquery.min.js" type="text/javascript"></script>
<script src="/image/weui.min.js"></script>
<script src="/layer3.1/layer.js"></script>
<script src="/image/common.js"></script>
<link rel="stylesheet" href="/image/iconfont.css" />
<link rel="stylesheet" href="/image/common.css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
$(document).ready(function(){
    $(".nav-list-ico").on('click',function(){
        if($('.left-nav').attr('class')=='left-nav active'){
                $('.left-nav').removeClass('active');
                $('.cover-mask').removeClass('active');
        }else{
                $('.left-nav').addClass('active');
                $('.cover-mask').addClass('active');
        }
    })
    $('.cover-mask').on('click',function(){
            if($('.left-nav').attr('class')=='left-nav active'){
                $('.left-nav').removeClass('active');
                $('.cover-mask').removeClass('active');
            }else{
                $('.left-nav').addClass('active');
                $('.cover-mask').addClass('active');
            }
    })
    $('.nav-item').on('click',function(){
            $('.left-nav-List').removeClass('active');
            $(this).addClass('active');
            $('.left-nav').removeClass('active');
            $('.cover-mask').removeClass('active');
    })
})
</script>

<style type="text/css">
.q-mt-md {margin-top: 16px;}
.text-body2 {font-size: .875rem; font-weight: 400; letter-spacing: .01786em; line-height: 1.25rem;}
.text-caption {font-size: .75rem; font-weight: 400; letter-spacing: .03333em; line-height: 1.25rem;}
.text-h6 {font-size: 1.25rem; font-weight: 500; letter-spacing: .0125em; line-height: 2rem;}
.text-body1 {font-size: 1rem; font-weight: 400; letter-spacing: .03125em; line-height: 1.5rem;}
.q-py-xs {padding-bottom: 4px; padding-top: 4px;}
.cate .item {padding: 9px;	flex: 1}
.cate .icon {width: 60px; margin: 0 auto;}
.table>tbody>tr>td {border: none;}
.partner-logo {flex-wrap: wrap;}
.partner-logo .partner-img {border: 0.5px solid #E6E9EB; box-sizing: border-box; margin:10px;}
@media screen and (max-width: 750px) {
   .partner-logo .partner-img {border: 0.5px solid #E6E9EB; box-sizing: border-box; margin: 2px;  width:32%}
}
.partner-logo img {width: 100%}
.links {background: #232323; padding: 15px;}
.links a {color: #fff; font-size: 16px;}
.links .list-item  {flex-wrap: wrap;}
.links .list-item .item {padding: 20px; flex: 1}
.links .list-item .item .title {color: #C0A161; font-size: 18px;}
.layui-layer-title {background: #7670d9; color:#fff;}
.layui-layer-dialog .layui-layer-content {background: linear-gradient(270deg,#1e2534,#0c1a37); color: #fff}
.layui-layer-btn {background: linear-gradient(270deg,#1e2534,#0c1a37);}
.listdate {background: #efefef; margin: 5px 0px 5px 0px; padding: 10px; border-radius: 10px;}
.listdate .btndate {background: #fff; margin: 7px; padding: 3px 18px 3px 18px; border-radius: 5px;}
.listdate .sel {background: #b9bfed; color: #0734b9;}
.vip-item .rate2num {font-style: normal;}
</style>
<script type="text/javascript">
	$(document).ready(function() {
		$(".btnupgrade").click(function(){
            var id = $(this).data('id');
            var layer1 = layer.open({
              title: "<?php echo htmlentities(app('lang')->get('input_enter_paypwd_tips')); ?>",
              content: '<input type="password" id="paypwd" class="form-control" placeholder="<?php echo htmlentities(app('lang')->get('input_enter_paypwd_tips')); ?>" style="border: 1px solid #ccc; color: #fff"/>',
              btn:["<?php echo htmlentities(app('lang')->get('btn_submit')); ?>","<?php echo htmlentities(app('lang')->get('btn_cancel')); ?>"],
              yes: function(index, layero){
                  var paypwd = $('body').find('#paypwd').val();
                  $.ajax({
                    type: "POST",
                    url: "<?php echo url('upgrade'); ?>",
                    dataType: "json",
                    data:{
                        id : id,
                        paypwd : paypwd
                    },
                    success : function(result) {
                    	//console.log(result);
                        layer.close(layer1);
                        if (result.code == 99) {

                        }
                        else
                          layer.msg(result.msg);
                    },
                    error : function(e){
                        console.log(e.status);
                        console.log(e.responseText);
                    }
                });
              },
              btn2: function(index, layero){
                  
              }
            })
		})
		$(".btndate").click(function(){
			 $(".btndate").removeClass("sel");
			 $(this).addClass("sel");
			 $(".rate1num").html($(this).attr("data-rate1"));
			 $(".rate2num").html($(this).attr("data-rate2"));
		})
	})
</script>
</head>
<body>
	
	<div class="">
	 <div class="pd20">
		<div class="q-card bg-card text-white pd20">
			<div class="q-card__section q-card__section--vert">
				<div class="text-body2 align-center  flex-between flex">
					<div style="letter-spacing: 2px;">
						Hi,
						<span class="q-ml-xs"><?php echo htmlentities($member['user_name']); ?></span>
					</div>
					<div style="letter-spacing: 2px;">
						<span><?php if($member['role_id'] == '0'): ?><?php echo htmlentities(app('lang')->get('ordinary_member')); else: ?><?php echo htmlentities($member['role_name']); ?><?php endif; ?></span>
					</div>
				</div>
				<div class="q-mt-md tc">
					<div class="text-caption"><?php echo htmlentities(app('lang')->get('available_balance')); ?></div>
					<div class="text-h6 q-mr-sm">
						<?php echo htmlentities($member['money']); ?>
						<span class="text-body1">USDT</span>
					</div>
				</div>
				<div class="align-center q-py-xs flex-between flex">
					<div>
						<div class="text-caption"><?php echo htmlentities(app('lang')->get('daily_receive')); ?></div>
						<div class="text-body1">
							<?php echo htmlentities((isset($member['daily_pay']) && ($member['daily_pay'] !== '')?$member['daily_pay']:0)); ?>
							<span class="text-body2">USDT</span>
						</div>
					</div>
					<div>
						<div class="text-caption"><?php echo htmlentities(app('lang')->get('monthly_receive')); ?></div>
						<div class="text-body1">
							<?php echo htmlentities((isset($member['month_pay']) && ($member['month_pay'] !== '')?$member['month_pay']:0)); ?>
							<span class="text-body2">USDT</span>
						</div>
					</div>
				</div>
			</div>
		</div>
	<div class="cate">
			<div class="flex flex-center flex-row">
				<div class="item tc">
					<div class='icon'>
						<a href="<?php echo url('Recharge/index'); ?>">
							<img src="/image/deposit_icon.png" class='img'>
						</a>
					</div>
					<div class='title'>
						<a href="<?php echo url('Recharge/index'); ?>"><?php echo htmlentities(app('lang')->get('label_recharge')); ?></a>
					</div>
					</a>
				</div>
				<div class="item tc">
					<div class='icon'>
						<a href="<?php echo url('Withdraw/index'); ?>">
							<img src="/image/withdraw_icon.png" class='img'>
						</a>
					</div>
					<div class='title'>
						<a href="<?php echo url('Withdraw/index'); ?>"><?php echo htmlentities(app('lang')->get('label_withdraw')); ?></a>
					</div>
				</div>
				<div class="item tc">
					<div class='icon'>
						<a href="<?php echo url('Order/index'); ?>">
							<img src="/image/transfer_icon.png" class='img'>
						</a>
					</div>
					<div class='title'>
						<a href="<?php echo url('Order/index'); ?>"><?php echo htmlentities(app('lang')->get('label_member_transfer')); ?></a>
					</div>
				</div>
				<div class="item tc">
					<div class='icon'>
						<a href="<?php echo url('Member/upgrade'); ?>">
							<img src="/image/viplevel_icon.png" class='img'>
						</a>
					</div>
					<div class='title'>
						<a href="<?php echo url('Member/upgrade'); ?>"><?php echo htmlentities(app('lang')->get('label_member_upgrade')); ?></a>
					</div>
				</div>
			<!--	<div class="item tc">
					<div class='icon'>
						<a href="javascript:void(0)" class="btnupgrade">
							<img src="/image/h5_sf.png" class='img'>
						</a>
					</div>
					<div class='title'>
						<a href="javascript:void(0)" class="btnupgrade"><?php echo htmlentities(app('lang')->get('label_member_rate1')); ?></a>
					</div>
				</div>
				<div class="item tc">
					<div class='icon'>
						<a href="javascript:void(0)" class="btnupgrade">
							<img src="/image/h5_autoinvest.png" class='img'>
						</a>
					</div>
					<div class='title'>
						<a href="javascript:void(0)" class="btnupgrade"><?php echo htmlentities(app('lang')->get('label_member_rate2')); ?></a>
					</div>
				</div>
				<div class="item tc">
					<div class='icon'>
						<a href="javascript:void(0)" class="btnupgrade">
							<img src="/image/h5_dual.png" class='img'>
						</a>
					</div>
					<div class='title'>
						<a href="javascript:void(0)" class="btnupgrade"><?php echo htmlentities(app('lang')->get('label_member_rate3')); ?></a>
					</div>
				</div>
				<div class="item tc">
					<div class='icon'>
						<a href="javascript:void(0)" class="btnupgrade">
							<img src="/image/h5_lend.png" class='img'>
						</a>
					</div>
					<div class='title'>
						<a href="javascript:void(0)" class="btnupgrade"><?php echo htmlentities(app('lang')->get('label_member_rate4')); ?></a>
					</div>-->
				</div>
			</div>
		</div>
		
	 	    <div class="list-vip">		   
		   <div class="vip-item">
		      <div class="hd"><img src="/image/icons8-tether-48.png" style="width: 30px;"><?php echo htmlentities(app('lang')->get('rate_title')); ?></div>
		      <div class="bd">
		        <div class="flex flex-between">
		          <div class="rate1"><span class="num rate1num" style="color: rgb(233 58 61);"><?php echo htmlentities($rate[0]['rate1']); ?></span><span class="title"><?php echo htmlentities(app('lang')->get('rate1_title')); ?></span></div>
		          <div class="rate2"><span class="num"><i class='rate2num'><?php echo htmlentities($rate[0]['rate2']); ?></i><?php echo htmlentities(app('lang')->get('day')); ?></span><span class="title"><?php echo htmlentities(app('lang')->get('rate2_title')); ?></span></div>
		        </div>
		        <div class="flex listdate flex-row">
		          <?php if(is_array($rate) || $rate instanceof \think\Collection || $rate instanceof \think\Paginator): $i = 0; $__LIST__ = $rate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
		          <div class="btndate <?php if($key == '0'): ?>sel<?php endif; ?>" data-rate1="<?php echo htmlentities($vo['rate1']); ?>" data-rate2="<?php echo htmlentities($vo['rate2']); ?>"><?php echo htmlentities($vo['rate2']); ?></div>
		          <?php endforeach; endif; else: echo "" ;endif; ?>
		        </div>
		        <div class="flex flex-between align-center"><?php echo htmlentities(app('lang')->get('limit_rate_usdt')); ?><div class="btn btnupgrade"><?php echo htmlentities(app('lang')->get('btn_rate')); ?></div></div>
		      </div>
		   </div>
		   
		</div>
		<div class="">
		   <div class='pd20'>
			   <span style="color: #009393;"><?php echo app('lang')->get('partner'); ?><br><br></span>
			   <div class="partner-logo  flex flex-between">
			     <div class="partner-img"><a href="https://poloniex.com/"><img src="/image/1.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.bitfinex.com/"><img src="/image/2.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.binance.com/en"><img src="/image/3.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.huobi.com/"><img src="/image/4.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.okcoin.com/"><img src="/image/5.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.kucoin.com/"><img src="/image/6.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.okex.com/"><img src="/image/7.jpg"></a></div>
			     <div class="partner-img"><a href="https://ftx.com/"><img src="/image/8.jpg"></a></div>
			     <div class="partner-img"><a href="https://m.biki.com/"><img src="/image/9.jpg"></a></div>
			   </div>
			</div>
		</div>
		<div class="bottomTable list-record">
		    <h5 class="title text-white flex"><div class="square_icon"></div><?php echo htmlentities(app('lang')->get('rolling_tips')); ?></h5>
		    <?php if(is_array($roll) || $roll instanceof \think\Collection || $roll instanceof \think\Paginator): $i = 0; $__LIST__ = $roll;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
		    <div class="item flex align-center pd20">
		      <div class="col1"><?php if($vo['type'] == app('lang')->get('withdraw')): ?><img src="/image/records2.png" class="img"><?php endif; if($vo['type'] == app('lang')->get('recharge')): ?><img src="/image/records1.png" class="img"><?php endif; ?></div>
		      <div class="col2"><span><?php echo htmlentities($vo['user_name']); ?></span><span><?php echo htmlentities($vo['type']); ?></span></div>
		      <div class="col3"><span><i class="money"><?php echo htmlentities($vo['money']); ?></i> USDT</span><span class="dtime"><?php echo htmlentities(date('Y-m-d',!is_numeric($vo['create_time'])? strtotime($vo['create_time']) : $vo['create_time'])); ?></span></div>
		    </div>
		    <?php endforeach; endif; else: echo "" ;endif; ?>
		</div>
		
		</div>
		<!--<div class="">
		   <div class='pd20'>
			   <span style="color: #009393;"><?php echo app('lang')->get('partner'); ?><br><br></span>
			   <div class="partner-logo  flex flex-between">
			     <div class="partner-img"><a href="https://poloniex.com/"><img src="/image/1.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.bitfinex.com/"><img src="/image/2.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.binance.com/en"><img src="/image/3.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.huobi.com/"><img src="/image/4.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.okcoin.com/"><img src="/image/5.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.kucoin.com/"><img src="/image/6.jpg"></a></div>
			     <div class="partner-img"><a href="https://www.okex.com/"><img src="/image/7.jpg"></a></div>
			     <div class="partner-img"><a href="https://ftx.com/"><img src="/image/8.jpg"></a></div>
			     <div class="partner-img"><a href="https://m.biki.com/"><img src="/image/9.jpg"></a></div>
			   </div>
			</div>
		</div>-->
		<div style="height: 40px"></div>
	</div>
	<div style="height: 50px;"></div>
<style>
<!--
.weui-tabbar {position: fixed; z-index: 500; bottom: 0px; left: 0px; right: 0px;}
.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label {color: #000;}
-->
</style>
<div class="weui-tabbar">
	<a href="<?php echo url('/'); ?>" class="weui-tabbar__item weui-bar__item_on">
		<img src="/image/home.png" alt="" class="weui-tabbar__icon">
		<p class="weui-tabbar__label"><?php echo htmlentities(app('lang')->get('home')); ?></p>
	</a>
	<a href="<?php echo url('Market/index'); ?>" class="weui-tabbar__item">
		<img src="/image/quotes.png" alt="" class="weui-tabbar__icon">
		<p class="weui-tabbar__label"><?php echo htmlentities(app('lang')->get('quote')); ?></p>
	</a>
	<a href="<?php echo url('Main/index'); ?>" class="weui-tabbar__item">
		<img src="/image/trade.png" alt="" class="weui-tabbar__icon">
		<p class="weui-tabbar__label"><?php echo htmlentities(app('lang')->get('trade')); ?></p>
	</a>
	<a href="<?php echo url('User/index'); ?>" class="weui-tabbar__item">
		<img src="/image/user.png" alt="" class="weui-tabbar__icon">
		<p class="weui-tabbar__label"><?php echo htmlentities(app('lang')->get('me')); ?></p>
	</a>
</div>
	<div style="height: 50px"></div>
<div role="loading" id="loadingToast" style="display: none;">
	<div class="weui-mask_transparent"></div>
	<div class="weui-toast">
		<span class="weui-primary-loading weui-icon_toast">
			<span class="weui-primary-loading__dot"></span>
		</span>
		<p class="weui-toast__content"></p>
	</div>
</div>
<div id="dialogs" style="display: none">
	<div class="js_dialog" role="dialog" aria-hidden="false" aria-modal="true" aria-labelledby="js_title2" id="iosDialog2" style="opacity: 1;" tabindex="0">
		<div class="weui-mask"></div>
		<div class="weui-dialog">
			<div class="weui-dialog__bd"></div>
			<div class="weui-dialog__ft">
				<a role="button" href="javascript:" class="weui-dialog__btn weui-dialog__btn_primary">close</a>
			</div>
		</div>
	</div>
</div>
</body>
</html>